//
//  YWaterFlowCell.m
//  yuimall_Iphone
//
//  Created by yuike6 yuike6 on 12-4-6.
//  Copyright (c) 2012年 yuike. All rights reserved.
//

#import "YWaterFlowCell.h"
#import "header.h"

@implementation YWaterFlowCell

@synthesize reuseIdentifier = _reuseIdentifier;

@synthesize cellData = cell_data_;

-(void) dealloc
{
    YRelease(_reuseIdentifier);
    
    YRelease(cell_data_)
    [super dealloc];
}
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

- (id)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    if(self = [super init])
	{
		self.reuseIdentifier = reuseIdentifier;
	}
	
	return self;
}

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    return;
    [[NSNotificationCenter defaultCenter] postNotificationName:@"CellSelected"
                                                        object:self
                                                      userInfo:[NSDictionary dictionaryWithObject:self.cellData.indexPath forKey:@"IndexPath"]];
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
